import request from '@/utils/request'

// 查询阶段问卷细节列表
export function listStage_investigate_detail(query) {
  return request({
    url: '/teaching/stage_investigate_detail/list',
    method: 'get',
    params: query
  })
}
// 查询阶段问卷细节列表
export function selectInvestigate() {
  return request({
    url: '/teaching/stage_investigate_detail/query',
    method: 'get'
  })
}

// 查询阶段问卷细节详细
export function getStage_investigate_detail(id) {
  return request({
    url: '/teaching/stage_investigate_detail/' + id,
    method: 'get'
  })
}

// 新增阶段问卷细节
export function addStage_investigate_detail(data) {
  return request({
    url: '/teaching/stage_investigate_detail',
    method: 'post',
    data: data
  })
}

// 修改阶段问卷细节
export function updateStage_investigate_detail(data) {
  return request({
    url: '/teaching/stage_investigate_detail',
    method: 'put',
    data: data
  })
}

// 删除阶段问卷细节
export function delStage_investigate_detail(id) {
  return request({
    url: '/teaching/stage_investigate_detail/' + id,
    method: 'delete'
  })
}
